﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HongStone.Domain.SystemSetupModel.InstitutionSettingModel
{
    /// <summary>
    /// 员工基本信息
    /// </summary>
    [Table("Employee")]
    public class Employee
    {
        /// <summary>
        /// 员工ID
        /// </summary>
        [Key]
        public int EmployeeId { get; set; }
        /// <summary>
        /// 所属部门
        /// </summary>
        public int DeptId { get; set; }
        /// <summary>
        /// 设计职称ID
        /// </summary>
        public int ProfessionalId { get; set; }
        /// <summary>
        /// 性别
        /// </summary>
        public int Sex { get; set; }
        /// <summary>
        /// 从事专业
        /// </summary>
        public int MajorId { get; set; }
        /// <summary>
        /// 管理职位
        /// </summary>
        public int ManagementId { get; set; }
        /// <summary>
        /// 技术职位
        /// </summary>
        public int TechnologyId { get; set; }
        /// <summary>
        /// 户籍所在地
        /// </summary>
        public string  Address { get; set; }
        /// <summary>
        /// 身份证号
        /// </summary>
        public string  IdNumber { get; set; }
        /// <summary>
        /// 出生日期
        /// </summary>
        public DateTime  DateBirth { get; set; }
        /// <summary>
        /// 联系方式
        /// </summary>
        public string  Phone { get; set; }
        /// <summary>
        /// 分机号
        /// </summary>
        public string  ExtensionNumber { get; set; }
        /// <summary>
        /// 年龄
        /// </summary>
        public int Age { get; set; }
    }
}
